/**
 * 
 */
package com.ffcs.crmd.tsp.api.dto.task;

import java.io.Serializable;

import com.thoughtworks.xstream.annotations.XStreamAliasType;

/**
 * 功能说明:执行端线程池信息实体
 *
 * @author ZHONGFUHUA
 * 
 * @since 2.0.0-SNAPSHOT
 *
 */
@XStreamAliasType("TaskThreadPoolInfo")
public class TaskThreadPoolInfo implements Serializable {
    
    /**
     * 
     */
    private static final long serialVersionUID = 3013558506167082272L;
    
    /**
     * 任务处理线程池
     */
    private Integer           jobProcessThreadPoolSize;
    
    /**
     * 任务处理业务线程池
     */
    private Integer           jobProcessBusinessThreadPoolSize;
    
    /**
     * 任务处理线程池权重
     */
    private PriorityWeight    jobProcessThreadPriorityWeight;
    
    /**
     * 任务处理业务线程池权重
     */
    private PriorityWeight    jobProcessBusinessThreadPriorityWeight;
    
    public TaskThreadPoolInfo(Integer jobProcessBusinessThreadPoolSize, Integer jobProcessThreadPoolSize) {
        this.jobProcessBusinessThreadPoolSize = jobProcessBusinessThreadPoolSize;
        this.jobProcessThreadPoolSize = jobProcessThreadPoolSize;
    }
    
    /**
     * 功能说明: 获取任务处理业务线程池
     *
     * @return jobProcessBusinessThreadPoolSize 任务处理业务线程池
     */
    public Integer getJobProcessBusinessThreadPoolSize() {
        return jobProcessBusinessThreadPoolSize;
    }
    
    /**
     * 功能说明: 设置任务处理业务线程池
     *
     * @param jobProcessBusinessThreadPoolSize 任务处理业务线程池
     */
    public void setJobProcessBusinessThreadPoolSize(Integer jobProcessBusinessThreadPoolSize) {
        this.jobProcessBusinessThreadPoolSize = jobProcessBusinessThreadPoolSize;
    }
    
    /**
     * 功能说明: 获取任务处理线程池
     *
     * @return jobProcessThreadPoolSize 任务处理线程池
     */
    public Integer getJobProcessThreadPoolSize() {
        return jobProcessThreadPoolSize;
    }
    
    /**
     * 功能说明: 设置任务处理线程池
     *
     * @param jobProcessThreadPoolSize 任务处理线程池
     */
    public void setJobProcessThreadPoolSize(Integer jobProcessThreadPoolSize) {
        this.jobProcessThreadPoolSize = jobProcessThreadPoolSize;
    }
    
    /**
     * 功能说明: 获取任务处理线程池权重
     *
     * @return jobProcessThreadPriorityWeight 任务处理线程池权重
     */
    public PriorityWeight getJobProcessThreadPriorityWeight() {
        return jobProcessThreadPriorityWeight;
    }
    
    /**
     * 功能说明: 设置任务处理线程池权重
     *
     * @param jobProcessThreadPriorityWeight 任务处理线程池权重 
     */
    public void setJobProcessThreadPriorityWeight(PriorityWeight jobProcessThreadPriorityWeight) {
        this.jobProcessThreadPriorityWeight = jobProcessThreadPriorityWeight;
    }
    
    /**
     * 功能说明: 获取任务处理业务线程池权重
     *
     * @return jobProcessBusinessThreadPriorityWeight 任务处理业务线程池权重
     */
    public PriorityWeight getJobProcessBusinessThreadPriorityWeight() {
        return jobProcessBusinessThreadPriorityWeight;
    }
    
    /**
     * 功能说明: 设置任务处理业务线程池权重
     *
     * @param jobProcessBusinessThreadPriorityWeight 任务处理业务线程池权重 
     */
    public void setJobProcessBusinessThreadPriorityWeight(PriorityWeight jobProcessBusinessThreadPriorityWeight) {
        this.jobProcessBusinessThreadPriorityWeight = jobProcessBusinessThreadPriorityWeight;
    }
    
}
